<html>
<head><meta charset="utf-8"><title>backtrace crate inclusion in std · t-core/licensing · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/index.html">t-core/licensing</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html">backtrace crate inclusion in std</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="202024364"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202024364" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202024364">(Jun 25 2020 at 21:00)</a>:</h4>
<p>There's several questions here (see <a href="https://github.com/rust-lang/rust/pull/73441#issuecomment-645479771">https://github.com/rust-lang/rust/pull/73441#issuecomment-645479771</a> for an initial summary).</p>
<ul>
<li>Can we get confirmation that adler32 needs to be relicensed or a clean-room impl or whatever under MIT OR Apache 2.0 for us to include it as a runtime [std] dependency?</li>
<li>Is miniz_oxide's MIT license a problem? Do we need some relicensing to include "OR Apache 2.0" there?</li>
</ul>



<a name="202031881"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202031881" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202031881">(Jun 25 2020 at 22:10)</a>:</h4>
<p>fyi <a href="https://crates.io/crates/adler">https://crates.io/crates/adler</a></p>



<a name="202047862"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202047862" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202047862">(Jun 26 2020 at 02:56)</a>:</h4>
<p>That's almost for sure going to be faster than the current adler32 crate.</p>
<p>However I feel like i should ask if you wouldn't mind making the license entry be <code>0BSD OR MIT OR Apache-2.0</code>, since it was a license based question in this topic</p>



<a name="202071711"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202071711" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202071711">(Jun 26 2020 at 10:01)</a>:</h4>
<p>That sounds somewhat redundant. Do we not have any existing 0BSD software in Rust?</p>



<a name="202071792"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202071792" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202071792">(Jun 26 2020 at 10:02)</a>:</h4>
<p>Oh, except the explicit patent grant from Apache is missing I guess, but I don't think that's particularly useful for Adler-32</p>



<a name="202086587"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202086587" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202086587">(Jun 26 2020 at 13:04)</a>:</h4>
<p>hm it is much easier to use things if they're license matches perfectly (MIT OR Apache 2.0) rather than trying to evaluate whether 0BSD is sufficiently compatible or whatever</p>



<a name="202092670"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202092670" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202092670">(Jun 26 2020 at 13:52)</a>:</h4>
<p>simulacrum, I presume that MIT OR Apache-2.0 and then additional OR clauses such as 0BSD or Zlib would also be acceptable?</p>



<a name="202092742"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202092742" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202092742">(Jun 26 2020 at 13:53)</a>:</h4>
<p>(just wondering for the future if i ever want to build a crate to make it into stdlib)</p>



<a name="202092847"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202092847" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202092847">(Jun 26 2020 at 13:54)</a>:</h4>
<p>I would think so but I don't know</p>



<a name="202100724"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202100724" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202100724">(Jun 26 2020 at 14:55)</a>:</h4>
<p>Alright, I'll relicense it. Kind of unfortunate, I put my crates under 0BSD specifically so that neither I nor any users have to deal with the license.</p>



<a name="202101423"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202101423" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202101423">(Jun 26 2020 at 15:00)</a>:</h4>
<p>to be clear 0BSD or MIT or Apache 2.0 seems fine to me, I don't really see how 0BSD helps people not deal with the license to be honest, since it seems like that would require a lawyer roundtrip for at least the rust project (as opposed to MIT or Apache 2.0)</p>



<a name="202105065"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202105065" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202105065">(Jun 26 2020 at 15:28)</a>:</h4>
<p>0BSD is <em>even more</em> permissive than MIT. You don't even have to provide the attribution when you use the lib.</p>



<a name="202105422"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202105422" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202105422">(Jun 26 2020 at 15:31)</a>:</h4>
<p>Yeah, my idea was that N-clause BSD licenses are generally well-understood, and 0-clause BSD has strictly fewer requirements</p>



<a name="202105527"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202105527" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202105527">(Jun 26 2020 at 15:32)</a>:</h4>
<p>But it seems that even the other BSD licenses are somehow not accepted in libstd dependencies</p>



<a name="202106017"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202106017" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202106017">(Jun 26 2020 at 15:36)</a>:</h4>
<p>it's more so that "even more permissive" is probably fine but imo we would need to check with someone</p>



<a name="202244135"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202244135" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202244135">(Jun 28 2020 at 16:39)</a>:</h4>
<p>The switch from adler32 to adler has been merged into miniz_oxide and should be released as part of the 0.4 version</p>



<a name="202311243"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/231349-t-core/licensing/topic/backtrace%20crate%20inclusion%20in%20std/near/202311243" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alex Crichton <a href="https://rust-lang.github.io/zulip_archive/stream/231349-t-core/licensing/topic/backtrace.20crate.20inclusion.20in.20std.html#202311243">(Jun 29 2020 at 13:50)</a>:</h4>
<p>thanks for the work here <span class="user-mention" data-user-id="211727">@Jonas Schievink</span>!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>